<div th:fragment="side" class="span2" id="sidebar">
    <ul class="nav nav-list bs-docs-sidenav nav-collapse collapse">

        <li >
            <a th:href="@{/admin/index}"><i class="icon-chevron-right"></i>首页</a>
        </li>

        <li th:if = "${loginUser.userType == 0}">
            <a th:href="@{/admin/user/page}"><i class="icon-chevron-right"></i> 用户管理</a>
        </li>

        <li>
            <a th:href="@{/admin/design/page}"><i class="icon-chevron-right"></i> 毕业设计管理 </a>
        </li>

        <li th:if="${loginUser.userType == 1}">
            <a th:href="@{/admin/myselect/design}"><i class="icon-chevron-right"></i> 选到的毕业设计 </a>
        </li>

    </ul>
</div>